Revert "configure: Print a more helpful error if autoconf-archive is not installed"
authorMate Kukri <mate.kukri@canonical.com>
Tue, 27 Jan 2026 11:41:00 +0000 (11:41 +0000)
committerMate Kukri <mate.kukri@canonical.com>
Tue, 10 Feb 2026 11:27:19 +0000 (11:27 +0000)
This reverts commit ac042f3f58d33ce9cd5ff61750f06da1a1d7b0eb.

Installing autoconf-archive does not make this error go away, so let's
revert this.

Gbp-Pq: Name Revert-configure-Print-a-more-helpful-error-if-autoconf-a.patch

configure.ac

index f6265c0ec49ffdfbc31f189e3697d4f0d972433d..8216b78432dfa66d4c174960bef83f67b841b7c0 100644 (file)
@@ -1804,11 +1804,6 @@ LIBS=""
 # Defined in acinclude.m4.
 grub_ASM_USCORE
 grub_PROG_TARGET_CC
-
-# The error message produced by autoconf if autoconf-archive is not installed is
-# quite misleading and not very helpful. So, try point people in the right direction.
-m4_ifndef([AX_CHECK_LINK_FLAG], [m4_fatal([autoconf-archive is missing. You must install it to generate the configure script.])])
-
 if test "x$TARGET_APPLE_LINKER" != x1 ; then
 AX_CHECK_LINK_FLAG([-Wl,--image-base,0x400000],
     [TARGET_IMG_BASE_LDOPT="-Wl,--image-base"],